home *** CD-ROM | disk | FTP | other *** search
- /* -------------------------------------------------------------------
-
- Project:
-
- Objective-C interface file for the class time
-
- COPYRIGHT (C), 1995, Thomas Baier
- ALL RIGHTS RESERVED.
-
- Date: Rev:
- 1995-Aug-11 ___
-
- */
-
- /*====================================================================
- Interface of class time
- ====================================================================*/
- #ifndef _TIMER_H_
- #define _TIMER_H_
-
- #include <objc/Object.h>
- #include <sys/time.h>
-
- @interface Timer : Object
- {
- clock_t lastMeasure;
- }
-
- /* -------------------------- Initialize -------------------------- */
- -init;
-
- /* ----------------------------- Free ----------------------------- */
-
- /* ----------- Methods for access to Instance Variables ----------- */
-
- /* ------------------------ Public methods ------------------------ */
- -startTimer;
- -(clock_t) stopTimer;
- -(clock_t) stopTimerAndPrint: (char *) message;
-
- /* ----------------------- Private methods ------------------------ */
-
- /* ---------------------- Archiving methods ----------------------- */
-
- @end
- #endif
-